ActiveReports 12
Insert Method (ObservableCollection<T>)

GrapeCity.ActiveReports.Viewer.Wpf.v12 Assembly > GrapeCity.Viewer.Common Namespace > ObservableCollection<T> Class : Insert Method
The zero-based index at which item should be inserted.
The object to insert. The value can be null for reference types.
Inserts an element into the Collection at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As T _
) 
public void Insert( 
   int index,
   T item
)

Parameters

index
The zero-based index at which item should be inserted.
item
The object to insert. The value can be null for reference types.
Exceptions
ExceptionDescription
index is less than zero.-or-index is greater than Count.
See Also

Reference

ObservableCollection<T> Class
ObservableCollection<T> Members